package com.service.user;

import com.core.dto.AccountDTO;
import com.core.model.lxf.AccountTransferDetails;

/**
 * Created with IntelliJ IDEA.
 * User: lxf
 * Date: 2016/12/30
 * Time: 16:45
 * To change this template use Editor | File and Code Templates.
 */
public interface AccountService {

    boolean transferToAccount(String sourceAccountId, String targetAccountId, String amount);

    void saveTransferResult(AccountTransferDetails details);

    void saveAccount(AccountDTO accountDTO);

    AccountDTO findAccountByGuid(String accountGuid);
}
